package org.goldenport.g3.events.http

import org.apache.http.HttpEntity
import org.goldenport.g3._
import org.goldenport.g3.events._

/**
 * @since   Sep. 20, 2010
 * @version Oct.  5, 2010
 * @author  ASAMI, Tomoharu
 */
trait HttpEvent extends G3Event

abstract class GETTED(uri: String, content: AnyRef) extends Getted(uri, Some(content)) with HttpEvent

class StringGETTED(uri: String, val string: String) extends GETTED(uri, string) with HttpEvent

class HttpEntityGETTED(uri: String, val entity: HttpEntity) extends GETTED(uri, entity) with HttpEvent
